var arr=["hello",true,{},23];
console.log(arr);
var result=arr.shift();
console.log(result);
console.log(arr);

var result1=arr.unshift("hello",false);
console.log(result1);
console.log(arr);

